package com.jason.algorithm;

/**
 * 金矿
 */
public class Gold {

    /**
     * 重量
     */
    private int weight;

    /**
     * 挖矿需要人数
     */
    private int person;

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public int getPerson() {
        return person;
    }

    public void setPerson(int person) {
        this.person = person;
    }

    public Gold(int weight, int person) {
        this.weight = weight;
        this.person = person;
    }

    public Gold() {
    }
}
